// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import com.nokia.meego 1.0

Rectangle {
        id: zoom_rectangle_main
        border.color: "#1f1f1f"
        border.width: 3
        radius: 5

        anchors.horizontalCenter: parent.horizontalCenter
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 0
        width: 250
        height: 80
        signal plusClicked
        signal moinsClicked
        signal zoneClicked
        property alias buttonMoins: zoom_button_moins.enabled
        property bool buttonPlus: zoom_button_plus.enabled
        property bool buttonZone: zoom_button_zone.enabled

        Button{
            id:zoom_button_plus
            text: "+"
            anchors.top: parent.top
            anchors.topMargin: 5
            anchors.left: parent.left
            anchors.leftMargin: 5
            width: 50; height: 60
            onClicked: plusClicked()
        }
        Button{
            id:zoom_button_moins
            anchors.right: parent.right
            anchors.rightMargin: 5
            text: "-"
            anchors.top: parent.top
            anchors.topMargin: 5
            width: 50; height: 60
            enabled: false
            onClicked: moinsClicked()
        }
        Button{
            id:zoom_button_zone
            text: "Zone -"
            anchors.top: parent.top
            anchors.topMargin: 5
            width: 100; height: 60
            anchors.horizontalCenter: parent.horizontalCenter
            onClicked: zoneClicked()
        }

    }
